package com.woniu.model.sportsHealth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 睡眠表
 * </p>
 *
 * @author Jet
 * @since 2023-10-23
 */
@Getter
@Setter
  @TableName("sh_sleep")
@ApiModel(value = "Sleep对象", description = "睡眠表")
public class Sleep implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("睡眠表")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("日期")
      private Date sleepDate;

      @ApiModelProperty("深度睡眠时长")
      private Double deepSleepDuration;

      @ApiModelProperty("浅度睡眠时长")
      private Double lightSleepDuration;

      @ApiModelProperty("清晰时长")
      private Double clearnessDuration;

      @ApiModelProperty("昨晚入睡时间")
      private Date lastNightSleepTime;

      @ApiModelProperty("今天入睡时间")
      private Date todaySleepTime;

      @ApiModelProperty("用户id")
      private Long shUserId;


}
